package cn.stylefeng.guns.modular.zhizao.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.zhizao.entity.ZhizaoMenu;
import cn.stylefeng.guns.modular.zhizao.model.params.ZhizaoMenuParam;
import cn.stylefeng.guns.modular.zhizao.model.result.ZhizaoMenuResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 质造菜单 服务类
 * </p>
 *
 * @author Dong
 * @since 2023-11-21
 */
public interface ZhizaoMenuService extends IService<ZhizaoMenu> {

    /**
     * 新增
     *
     * @author Dong
     * @Date 2023-11-21
     */
    void add(ZhizaoMenuParam param);

    /**
     * 删除
     *
     * @author Dong
     * @Date 2023-11-21
     */
    void delete(ZhizaoMenuParam param);

    /**
     * 更新
     *
     * @author Dong
     * @Date 2023-11-21
     */
    void update(ZhizaoMenuParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author Dong
     * @Date 2023-11-21
     */
    ZhizaoMenuResult findBySpec(ZhizaoMenuParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author Dong
     * @Date 2023-11-21
     */
    List<ZhizaoMenuResult> findListBySpec(ZhizaoMenuParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author Dong
     * @Date 2023-11-21
     */
     LayuiPageInfo findPageBySpec(ZhizaoMenuParam param);

}
